<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" 
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:c="http://java.sun.com/jstl/core"
  xmlns:af="http://myfaces.apache.org/trinidad"
  xmlns:afh="http://myfaces.apache.org/trinidad/html"
  version="1.2">
<ui:composition>
<f:view>
    <f:loadBundle basename="ProcessPortalMessages" var="localeBundle" />
    <f:loadBundle basename="CommonMessages" var="commonMsg" />
    <af:document title="#{localBundle.processHistory}">
        <af:form >
            <af:navigationPane id="NavigationTabBar" hint="tabs"
               partialTriggers=":NavigationTabBar:viewAsTableTab :NavigationTabBar:viewAsDiagramTab">
               <af:commandNavigationItem id="viewAsTableTab"
                    text="#{localeBundle.viewAsTable}" immedtiate="true"
                    partialSubmit="true" action="#{processHistoryDialog.tabView}"
                    selected="#{processHistoryDialog.tableVisible}"/>
               <af:commandNavigationItem id="viewAsDiagramTab"
                    text="#{localeBundle.viewAsDiagram}" immedtiate="true"
                    partialSubmit="true" action="#{processHistoryDialog.graphView}"
                    selected="#{processHistoryDialog.graphVisible}"
                    rendered="#{portalHeader.integratedWithLiveDiagrams}"/>
            </af:navigationPane>
            <af:navigationPane id="NavigationBar" hint="bar" styleClass="historyNavBar"
                binding="#{processHistoryDialog.navigationBar}" 
                partialTriggers=":NavigationTabBar:viewAsTableTab :NavigationTabBar:viewAsDiagramTab">
                <ui:insert name="menueTextBar"></ui:insert>
                <af:commandNavigationItem text="#{commonMsg.close}"
                    styleClass="historyNavBarText"
                    action="#{processHistoryDialog.closeDialog}" immediate="true"/>
            </af:navigationPane>
            <div class="infinityClear"/>
            <ui:insert name="pageContent"></ui:insert>
         </af:form>
     </af:document>
</f:view>
</ui:composition>
</jsp:root>